package com.shigen.demo.entity.req;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

public class ChartReq {

  @Data
  @ApiModel(value = "chart请求体封装")
  public static class OpBase {

    @Length(min = 10, message = "token不合法")
    private String token;

    @Range(min = 100, message = "用户ID不合法")
    private Integer userid;
  }

}
